﻿using System;

namespace Redirection
{
    public static class ConstantsService
    {
        public static class Features
        {
            public static Guid RedirectionSiteFeature
            {
                get { return new Guid("178da465-8e2b-459c-a6a9-c56dac129851"); }
            }
        }

        public static class Lists
        {
            public static string RedirectionsList
            {
                get
                {
                    return "Redirections";
                }
            }
        }

        public static class Fields
        {
            public static Guid ActiveRedirectFieldId
            {
                get { return Guid.Parse("{b4d4b006-886f-4ebd-8f13-7f8d0babeebf}"); }
            }

            public static Guid DestinationUrlFieldId
            {
                get { return Guid.Parse("{4f764d47-f1d6-419e-bc09-75b23a0de280}"); }
            }

            public static Guid PermanentRedirectFieldId
            {
                get { return Guid.Parse("{3532b441-9895-41fb-add4-8db85ed9b43f}"); }
            }

            public static Guid RequestedUrlFieldId
            {
                get { return Guid.Parse("{b888d4ce-b8b6-4799-873f-163552c9502b}"); }
            }
        }

        public static class PropertyBag
        {
            public static string RedirectionCacheInterval
            {
                get { return "PageRedirector_CacheInterval"; }
            }

            public static string RedirectionCacheCreationKey
            {
                get { return "PageRedirector_CacheCreationDate"; }
            }
        }
    }
}